home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / apparmor.d / gdm-guest-session next >
Text File  |  2009-10-15  |  967b  |  47 lines

  1. # vim:syntax=apparmor
  2. # Last Modified: Tue Jul 29 10:55:32 2008
  3. # Author: Martin Pitt <martin.pitt@ubuntu.com>
  4.  
  5. #include <tunables/global>
  6.  
  7. /usr/share/gdm/guest-session/Xsession {
  8.   #include <abstractions/authentication>
  9.   #include <abstractions/nameservice>
  10.   #include <abstractions/wutmp>
  11.   /var/log/wtmp k, # bug in wutmp, https://launchpad.net/bugs/253328
  12.  
  13.   / r,
  14.   /bin/ rmix,
  15.   /bin/** rmix,
  16.   /cdrom/ rmix,
  17.   /cdrom/** rmix,
  18.   /dev/ r,
  19.   /dev/** rw, # audio devices etc.
  20.   /etc/ r,
  21.   /etc/** rmk,
  22.   /etc/gdm/Xsession ix,
  23.   /lib/ r,
  24.   /lib/** rmixk,
  25.   /lib32/ r,
  26.   /lib32/** rmixk,
  27.   /media/ r,
  28.   /media/** rmwlixk,  # we want access to USB sticks and the like
  29.   /opt/ r,
  30.   /opt/** rmixk,
  31.   /proc/ r,
  32.   /proc/** rm,
  33.   /sbin/ r,
  34.   /sbin/** rmixk,
  35.   /sys/ r,
  36.   /sys/** rm,
  37.   /tmp/ rw,
  38.   /tmp/** rwlkmix,
  39.   /usr/ r,
  40.   /usr/** rmixk,
  41.   /var/ r,
  42.   /var/** rmixk,
  43.   /var/tmp/ rw,
  44.   /var/tmp/** rwlkm,
  45.   /var/run/** rmwkix, # necessary for writing to sockets, etc.
  46. }
  47.